﻿package com.teaphy.coroutinecrawler.top_suspend

import kotlinx.coroutines.*

fun main() = runBlocking {

    val result = withTimeoutOrNull(3000) {
        delay(4000)
        1
    }
    println("withTimeoutOrNull result: $result, coroutineScope -- result: $this")

}